#ifndef CHECKING_ACCOUNT_HH
#define CHECKING_ACCOUNT_HH

#include "Account.hh"
#include "Transaction.hh"
#include <iostream>

using namespace std;

class CheckingAccount : public Account {
public:
    CheckingAccount(Customer* owner);

    bool deposit(double amount, const string& note) override;
    bool withdraw(double amount, const string& note) override;
    bool transfer(Account* to, double amount, const string& note) override;
    void getInfo() const override;
    string getAccountType() const override;
};

#endif